<?php
use app\common\Routes;
use Webman\Route;
Route::get('/', [app\index\controller\Index::class, 'index']);
//测试路由
Route::get('/api', [app\api\controller\Index::class, 'index']);
// 注册路由
$routeClass = new Routes;
$routeClass->initify();